<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2019/6/15 0015
 * Time: 下午 9:43
 */

namespace App\Fallback;


use App\Rpc\Lib\IntegratingInterface;
use Six\Rpc\Client\Annotation\Mapping\Fallback;

/**
 * Fallback IntegratingServiceFallback
 * @package App\Fallback
 * @Fallback(name="IntegratingFallback" , version="1.0")
 */
class IntegratingServiceFallback implements IntegratingInterface
{
    /**
     * 增加积分降级
     * @return array
     */
    public function add(): array
    {
        return ['status'=>1,'result' =>"积分降级成功"];
    }
}